{% extends "trp/base.html" %}
{% block content%}
<!-- 算法管理——管理员 -->
<div class="pageheader">
    <a class="btn-create createalgorithm" href="javascript:;"><span class="glyphicon glyphicon-plus"></span>新增算法</a>
    <div class="searchbox pull-right">
        <label>搜索<input id="term" class="searchbox-ipt" placeholder="按算法名称模糊搜索" type="text"></label>
        <a class="searchbox-btn" href="javascript:;"></a>
    </div>
    <div class="dropbox pull-right">
	    <select name="passed" style="width:140px;" placeholder="按测试结果搜索">
			<option></option>
			<option value="">全部结果</option>
			<option value="0">未通过</option>
			<option value="1">已通过</option>
		</select>
    </div>
    <div class="dropbox pull-right">
	    <select name="status" style="width:140px;" placeholder="按算法状态搜索">
			<option></option>
			<option value="">全部状态</option>
			<option value="0">未发布</option>
			<option value="1">已发布</option>
			<option value="2">已废弃</option>
		</select>
    </div>
</div>
<div class="pagebox">
	<table id="algorithmList" class="grid" width="100%">
	    <thead>
	        <tr>
	            <th>算法名称</th>
	            <th>算法状态</th>
	            <th>更新时间</th>
	            <th>测试结果</th>
	            <th minwidth="150">操作</th>
	        </tr>
	    </thead>
	    <tbody>
	    	<tr><td colspan="5" class="loading">&nbsp;</td></tr>
	    </tbody>
	</table>
</div>
<script>seajs.use('trp/js/algorithm_admin');</script>
{% endblock%}